package com.book.manager.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: yfan-chen
 * @description:
 * @create: 2021-08-31 22:21
 **/
@Data
public class Role {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键Id")
    private Integer roleId;
    @ApiModelProperty(value = "角色名称")
    private String roleName;
    @ApiModelProperty(value = "角色编号")
    private String roleCode;

    @ApiModelProperty(value = "createTime")
    private Long createTime;
    @ApiModelProperty(value = "updateTime")
    private Long updateTime;
    @ApiModelProperty(value = "有效性")
    private Integer isValid;
}
